// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .CS}

//-------------MAIN---------------
0000: NOP 

:LOAD
wait 0 ms
if and
00DD:   actor $PLAYER_ACTOR driving_car_with_model 577 
0AB0:   key_pressed 0x48
jf @LOAD
03C0: 9@ = actor $PLAYER_ACTOR car
06B1: 7@ = create_searchlight_at 0.0 0.0 0.0 radius 0.0 target 0.0 0.0 0.0 radius 0.0
06C1: create_searchlight 7@ on_car 9@ with_offset -3.24500 1.22500 3.64800 radius 0.5 target -3.24500 1.22500 3.64800 radius 5.0
0A02: set_searchlight 7@ lights_through_obstacles 1

:Loopz
0407: store_coords_to 4@ 5@ 6@ from_car 9@ with_offset 0.0 120.0 1.0
06B4: set_searchlight 7@ path_between 4@ 5@ 6@ and 4@ 5@ 6@ speed 100.0
wait 100 ms

:NEGA1
wait 0 ms       
if and
06B3:   searchlight 7@ active
00DD:   actor $PLAYER_ACTOR driving_car_with_model 519  
0AB0:   key_pressed 0x48
jf @Loopz
06B2: destroy_searchlight 7@      
wait 800 ms
jump @LOAD

:Whoa
wait 100 ms
0A93: end_custom_thread